get /cloud/azure/resourcegroups

List Azure Resource Groups (getAzureResourceGroups)

Lists the Azure Resource Groups.

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Query parameters

location (required)

Query Parameter — Location

credentialsName (required)

Query Parameter — Cloud credentials name

Return type

array[ResourceGroup]

id (optional)

String Resource Group ID

location (optional)

String Resource Group location

name (optional)

String Resource Group name

 

Example data

Content-Type: application/json

[

{

"id": "/subscriptions/123e4567-e89b-12d3-a456-426655440000/resourceGroups/Velostrata-datacenter-123465789-1234-9876",

"location": "northeurope",

"name": "Velostrata-datacenter-123465789-1234-9876"

}

]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

200

OK

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String